﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class Form3 : Form
    {
        public Form3()
        {
            InitializeComponent();
        }

        private void label2_Click(object sender, EventArgs e)
        {

        }

        private void Form3_Load(object sender, EventArgs e)
        {

        }

        private void btnRegister_Click(object sender, EventArgs e)
        {
            var Uid = UName.Text;
            var Pwd = PWord.Text;
            var rPwd = reTryPassWord.Text;
            if (string.IsNullOrEmpty(Uid) && string.IsNullOrEmpty(Pwd) && Pwd == rPwd)
            {
                MessageBox.Show("恭喜你","注册成功");
                
            }

        }
    }
}
